package com.zff.rental.entity.user;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zff.rental.AppConstant;
import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import jakarta.persistence.Table;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import org.hibernate.annotations.Comment;

/**
 * 超级管理员
 *
 * @author HCY
 */
@Entity
@NoArgsConstructor
@AllArgsConstructor
@Table(name = AppConstant.TABLE_NAME_ADMINISTRATOR)
@TableName(AppConstant.TABLE_NAME_ADMINISTRATOR)
public class AdministratorEntity {
    /**
     * 超级管理员用户Id
     */
    @Id
    @TableId
    @Comment("超级管理员用户Id")
    private Long userId;
}
